home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
extcentry.z
/
extcentry
Wrap
Text File
|
1998-10-30
|
2KB
|
67 lines
EEEEXXXXTTTTCCCCEEEENNNNTTTTRRRRYYYY((((1111)))) EEEEXXXXTTTTCCCCEEEENNNNTTTTRRRRYYYY((((1111))))
NNNNAAAAMMMMEEEE
extcentry - extract FORTRAN-callable entry points from a C file
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
eeeexxxxttttcccceeeennnnttttrrrryyyy infile outfile
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_E_x_t_c_e_n_t_r_y is used to extract C functions for which FORTRAN-callable
interface routines (_w_r_a_p_p_e_r_s) are to be generated by the program
_m_k_f_2_c(1). _E_x_t_c_e_n_t_r_y accepts as input any C file (_i_n_f_i_l_e), and outputs
(to _o_u_t_f_i_l_e) only those portions which are surrounded by the special
comments /* _C_E_N_T_R_Y */ and /* _E_N_D_C_E_N_T_R_Y */.
The first step in generating a FORTRAN-to-C interface routine is to
surround only those C functions for which entry points are to be
generated by these special comments and to run the file through
_e_x_t_c_e_n_t_r_y. The FORTRAN-to-C interface generator program _m_k_f_2_c can then be
invoked on the resultant file to generate the assembly language _w_r_a_p_p_e_r.
This is necessary since _m_k_f_2_c understands only a limited subset of the C
grammar, and cannot parse such constructs as external declarations,
typedefs, and C-preprocessor directives.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
mkf2c(1)
PPPPaaaaggggeeee 1111